From b8f464e102bb7445a5beadaacb6321a77e6b556a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 25 Aug 2016 00:13:13 -0400 Subject: [PATCH] wayland: Add some more debug spew --- gdk/wayland/gdkselection-wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c index 80ff0475dd..b31af85139 100644 --- a/gdk/wayland/gdkselection-wayland.c +++ b/gdk/wayland/gdkselection-wayland.c @@ -381,6 +381,9 @@ data_offer_offer (void *data, if (!info || g_list_find (info->targets, atom)) return; + GDK_NOTE (EVENTS, + g_message ("data offer offer, offer %p, type = %s", wl_data_offer, type)); + info->targets = g_list_prepend (info->targets, atom); } @@ -416,6 +419,9 @@ data_offer_source_actions (void *data, drop_context->actions = _wl_to_gdk_actions (source_actions); + GDK_NOTE (EVENTS, + g_message ("data offer source actions, offer %p, actions %d", wl_data_offer, source_actions)); + if (gdk_drag_context_get_dest_window (drop_context)) _gdk_wayland_drag_context_emit_event (drop_context, GDK_DRAG_MOTION, GDK_CURRENT_TIME); @@ -463,6 +469,9 @@ primary_offer_offer (void *data, if (!info || g_list_find (info->targets, atom)) return; + GDK_NOTE (EVENTS, + g_message ("primary offer offer, offer %p, type = %s", gtk_offer, type)); + info->targets = g_list_prepend (info->targets, atom); } -- 2.30.2